package cn.ydt.ydt.pojo.community.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "通知删除DTO")
@Data
public class NoticeDeleteDTO implements Serializable {

    @ApiModelProperty(value = "通知id",name = "noticeId",example = "1")
    private Long noticeId;

    @ApiModelProperty(value = "通知内容",name = "noticeContent")
    private String noticeContent;

    @ApiModelProperty(value = "修改时间",name = "modifyTime",example = "2022-03-31 10:32:22")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date modifyTime;

    @ApiModelProperty(value = "是否删除",name = "isDeleted",example = "0")
    private Byte isDeleted;

    @ApiModelProperty(value = "社区id",name = "communityId",example = "1")
    private Long communityId;

}
